home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / hp300.h < prev    next >
C/C++ Source or Header  |  1994-02-21  |  733b  |  39 lines

  1. #include <stddef.h>
  2. #include <stdlib.h>
  3. #include <fcntl.h>
  4. #include <errno.h>
  5. #include <stdio.h>
  6. #include <sys/types.h>
  7. #include <sys/stat.h>
  8. #include <ctype.h>
  9. #include <string.h>
  10. #include <sys/file.h>
  11. #ifndef    O_ACCMODE
  12. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  13. #endif
  14. #define SEEK_SET 0
  15. #define SEEK_CUR 1
  16.  
  17. #define HOST_HP300HPUX
  18.  
  19. #define USE_UTIME
  20.  
  21. /* Some things that need to be defined in order to make code written for
  22.    BSD Unix compile under System V Unix.  */
  23.  
  24. #include <memory.h>
  25. #define bcmp(b1,b2,len)        memcmp(b1,b2,len)
  26. #define bcopy(src,dst,len)    memcpy(dst,src,len)
  27. #define bzero(s,n)        memset(s,0,n)
  28.  
  29. #if 0
  30. static int
  31. rename(from, to)
  32. {
  33.   unlink(to);
  34.   return(link(from, to));
  35. }
  36. #endif
  37.  
  38. #include "fopen-same.h"
  39.